package javapop.framework.parser;

import javapop.framework.Parser;

public class AtLeastOne<T> extends Many<T> {

	public AtLeastOne(Parser<T> child) {
		super(child,1,Integer.MAX_VALUE-1);
	}
	
	@Override
	public String getDescription() {
		StringBuffer buf = new StringBuffer();
		buf.append("(");
		buf.append(child.getDescription());
		buf.append(")+");	
		return buf.toString();
	}
	
	
}
